Skip to content

Main#437

Merged
JustAGhosT merged 2 commits intodevfrom
main
Mar 21, 2026
Merged

Main#437
JustAGhosT merged 2 commits intodevfrom
main

Conversation

@JustAGhosT
Copy link
Copy Markdown
Collaborator

Summary

Brief description of what this PR does and why.

Closes #

Changes

  • Change 1
  • Change 2
  • Change 3

Test Plan

Describe how you tested these changes:

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed

Validation Commands

# Commands to verify this change works correctly

Checklist

  • Tests pass locally (npm test / cargo test / equivalent)
  • Linter passes with no new warnings
  • Build succeeds
  • Documentation updated (if behavior changed)
  • No secrets, tokens, or credentials in the diff
  • Breaking changes documented (if applicable)
  • Reviewed my own diff before requesting review

Documentation

Change Impact

  • High — Architecture, major refactor, new feature, security, or breaking change
  • Medium — Complex bug fix, major library upgrade, tooling change
  • Low — Minor fix, config change, style update

Documentation Checklist (required for High impact)

  • Not applicable (Low/Medium impact without historical record needed)
  • History document created using ./scripts/create-doc.sh <type> "<title>" <pr>
  • All [bracketed] placeholder sections filled in
  • Filed in correct docs/history/ subdirectory
  • Sequential number assigned via .index.json
  • Related ADRs cross-referenced
  • CHANGELOG.md updated (auto-updated by create-doc.sh, or run ./scripts/update-changelog.sh)

JustAGhosT and others added 2 commits March 21, 2026 05:56
…ng (#435)

- 006: mark Resolved — CLI-spec parity check and framework command types merged via PR #432
- 040: mark Resolved — elegance-guidelines field added to agents.yaml via PR #432
- 025: mark Partially resolved — filterDomainsByStack() addresses noise; TRAE format audit outstanding
- 026: mark In progress — kit filtering principle extends to skills; TRAE format audit pending
- 027: mark Deferred — TRAE agent packaging/import format audit not yet started
- 004: reduce priority P2 → P3 — domain filtering reduces governance urgency for rules.yaml

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…as (#436)

- .agentkit/package.json: name retort-runtime, add retort:* scripts
  (agentkit:* scripts kept as deprecated aliases for one release cycle)
- package.json: name retort-root, add retort:* root scripts,
  ak:* scripts updated to call retort:* internally
- cli.mjs: banner and log prefix updated to Retort/[retort:]
- template-utils.mjs, synchronize.mjs: GENERATED header now reads
  "GENERATED by Retort" (validate.mjs accepts both old and new)
- 124 template files: AgentKit Forge → Retort, agentkit:sync → retort:sync
- 38 engine source files: AgentKit → Retort throughout
- Test suite: all assertions updated (cli, sync-integration,
  template-utils, brand-resolver tests)

Rationale: "agentkit" is a commodity name dominated by Anthropic's
own AgentKit/Agent SDK tooling. "retort" is unique, distinctive,
and aligns with the repo identity.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 21, 2026 03:57
@blocksorg
Copy link
Copy Markdown

blocksorg bot commented Mar 21, 2026

Mention Blocks like a regular teammate with your question or request:

@blocks review this pull request
@blocks make the following changes ...
@blocks create an issue from what was mentioned in the following comment ...
@blocks explain the following code ...
@blocks are there any security or performance concerns?

Run @blocks /help for more information.

Workspace settings | Disable this message

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 21, 2026

Important

Review skipped

Too many files!

This PR contains 267 files, which is 117 over the limit of 150.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 913e3477-3846-4bec-af6a-1e81165db985

📥 Commits

Reviewing files that changed from the base of the PR and between 88d2418 and 08c8d52.

⛔ Files ignored due to path filters (6)
  • .claude/worktrees/focused-colden/.agentkit/package-lock.json is excluded by !**/package-lock.json
  • .claude/worktrees/focused-colden/.claude/state/events.log is excluded by !**/*.log
  • .claude/worktrees/focused-colden/package-lock.json is excluded by !**/package-lock.json
  • .claude/worktrees/tender-margulis/.agentkit/package-lock.json is excluded by !**/package-lock.json
  • .claude/worktrees/tender-margulis/.claude/state/events.log is excluded by !**/*.log
  • .claude/worktrees/tender-margulis/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (267)
  • .agentkit/engines/node/src/__tests__/brand-resolver.test.mjs
  • .agentkit/engines/node/src/__tests__/cli.test.mjs
  • .agentkit/engines/node/src/__tests__/sync-integration.test.mjs
  • .agentkit/engines/node/src/__tests__/template-utils.test.mjs
  • .agentkit/engines/node/src/agent-analysis.mjs
  • .agentkit/engines/node/src/agent-integration.mjs
  • .agentkit/engines/node/src/backlog-store.mjs
  • .agentkit/engines/node/src/backlog-viewer.mjs
  • .agentkit/engines/node/src/brand-resolver.mjs
  • .agentkit/engines/node/src/budget-guard.mjs
  • .agentkit/engines/node/src/check.mjs
  • .agentkit/engines/node/src/cli.mjs
  • .agentkit/engines/node/src/cost-tracker.mjs
  • .agentkit/engines/node/src/discover.mjs
  • .agentkit/engines/node/src/doctor.mjs
  • .agentkit/engines/node/src/event-emitter.mjs
  • .agentkit/engines/node/src/events.mjs
  • .agentkit/engines/node/src/expansion-analyzer.mjs
  • .agentkit/engines/node/src/feature-manager.mjs
  • .agentkit/engines/node/src/github-adapter.mjs
  • .agentkit/engines/node/src/handoff.mjs
  • .agentkit/engines/node/src/healthcheck.mjs
  • .agentkit/engines/node/src/import-issues.mjs
  • .agentkit/engines/node/src/init.mjs
  • .agentkit/engines/node/src/issue-normalizer.mjs
  • .agentkit/engines/node/src/linear-adapter.mjs
  • .agentkit/engines/node/src/orchestrator.mjs
  • .agentkit/engines/node/src/plan-runner.mjs
  • .agentkit/engines/node/src/project-completeness.mjs
  • .agentkit/engines/node/src/review-runner.mjs
  • .agentkit/engines/node/src/runner.mjs
  • .agentkit/engines/node/src/spec-validator.mjs
  • .agentkit/engines/node/src/suggestion-store.mjs
  • .agentkit/engines/node/src/sync-backlog-runner.mjs
  • .agentkit/engines/node/src/sync-guard.mjs
  • .agentkit/engines/node/src/synchronize.mjs
  • .agentkit/engines/node/src/task-cli.mjs
  • .agentkit/engines/node/src/task-protocol.mjs
  • .agentkit/engines/node/src/template-utils.mjs
  • .agentkit/engines/node/src/tool-manager.mjs
  • .agentkit/engines/node/src/tracker-adapter.mjs
  • .agentkit/engines/node/src/validate.mjs
  • .agentkit/engines/node/src/weighted-scorer.mjs
  • .agentkit/package.json
  • .agentkit/templates/ai/continuerules
  • .agentkit/templates/ai/cursorrules
  • .agentkit/templates/ai/windsurfrules
  • .agentkit/templates/claude/CLAUDE.md
  • .agentkit/templates/claude/commands/cost.md
  • .agentkit/templates/claude/commands/doctor.md
  • .agentkit/templates/claude/commands/expand.md
  • .agentkit/templates/claude/commands/feature-configure.md
  • .agentkit/templates/claude/commands/feature-review.md
  • .agentkit/templates/claude/commands/project-review.md
  • .agentkit/templates/claude/commands/review.md
  • .agentkit/templates/claude/commands/start.md
  • .agentkit/templates/claude/commands/sync.md
  • .agentkit/templates/claude/commands/validate.md
  • .agentkit/templates/claude/hooks/protect-templates.ps1
  • .agentkit/templates/claude/hooks/protect-templates.sh
  • .agentkit/templates/claude/rules/agent-conduct.md
  • .agentkit/templates/claude/rules/blockchain.md
  • .agentkit/templates/claude/rules/ci-cd.md
  • .agentkit/templates/claude/rules/dependency-management.md
  • .agentkit/templates/claude/rules/documentation.md
  • .agentkit/templates/claude/rules/dotnet.md
  • .agentkit/templates/claude/rules/git-workflow.md
  • .agentkit/templates/claude/rules/iac.md
  • .agentkit/templates/claude/rules/python.md
  • .agentkit/templates/claude/rules/quality.md
  • .agentkit/templates/claude/rules/rust.md
  • .agentkit/templates/claude/rules/security.md
  • .agentkit/templates/claude/rules/template-protection.md
  • .agentkit/templates/claude/rules/testing.md
  • .agentkit/templates/claude/rules/typescript.md
  • .agentkit/templates/claude/state/schema.json
  • .agentkit/templates/copilot/agents/TEMPLATE.agent.md
  • .agentkit/templates/copilot/copilot-instructions.md
  • .agentkit/templates/copilot/prompts/TEMPLATE.prompt.md
  • .agentkit/templates/cursor/commands/TEMPLATE.md
  • .agentkit/templates/cursor/rules/project-context.mdc
  • .agentkit/templates/cursor/teams/TEMPLATE.mdc
  • .agentkit/templates/docs/README.md
  • .agentkit/templates/docs/api/01_overview.md
  • .agentkit/templates/docs/api/02_endpoints.md
  • .agentkit/templates/docs/api/03_authentication.md
  • .agentkit/templates/docs/api/04_examples.md
  • .agentkit/templates/docs/api/05_errors.md
  • .agentkit/templates/docs/api/06_versioning.md
  • .agentkit/templates/docs/api/README.md
  • .agentkit/templates/docs/architecture/01_overview.md
  • .agentkit/templates/docs/architecture/README.md
  • .agentkit/templates/docs/architecture/decisions/01-adopt-agentkit-forge.md
  • .agentkit/templates/docs/architecture/decisions/02-fallback-policy-tokens-problem.md
  • .agentkit/templates/docs/architecture/decisions/03-tooling-strategy.md
  • .agentkit/templates/docs/architecture/decisions/04-static-security-analysis-depth-tooling.md
  • .agentkit/templates/docs/architecture/decisions/05-dependency-supply-chain-detection-tooling.md
  • .agentkit/templates/docs/architecture/decisions/06-code-quality-maintainability-signal-tooling.md
  • .agentkit/templates/docs/architecture/decisions/README.md
  • .agentkit/templates/docs/architecture/diagrams/README.md
  • .agentkit/templates/docs/architecture/specs/01_functional_spec.md
  • .agentkit/templates/docs/architecture/specs/02_technical_spec.md
  • .agentkit/templates/docs/architecture/specs/03_api_spec.md
  • .agentkit/templates/docs/architecture/specs/04_data_models.md
  • .agentkit/templates/docs/architecture/specs/README.md
  • .agentkit/templates/docs/engineering/01_setup.md
  • .agentkit/templates/docs/engineering/02_coding_standards.md
  • .agentkit/templates/docs/engineering/03_testing.md
  • .agentkit/templates/docs/engineering/04_git_workflow.md
  • .agentkit/templates/docs/engineering/05_security.md
  • .agentkit/templates/docs/engineering/06_pr_documentation.md
  • .agentkit/templates/docs/engineering/07_changelog.md
  • .agentkit/templates/docs/engineering/README.md
  • .agentkit/templates/docs/history/README.md
  • .agentkit/templates/docs/integrations/01_external_apis.md
  • .agentkit/templates/docs/integrations/02_webhooks.md
  • .agentkit/templates/docs/integrations/03_sdk.md
  • .agentkit/templates/docs/integrations/README.md
  • .agentkit/templates/docs/operations/01_deployment.md
  • .agentkit/templates/docs/operations/02_monitoring.md
  • .agentkit/templates/docs/operations/03_incident_response.md
  • .agentkit/templates/docs/operations/04_troubleshooting.md
  • .agentkit/templates/docs/operations/05_slos_slis.md
  • .agentkit/templates/docs/operations/README.md
  • .agentkit/templates/docs/product/01_prd.md
  • .agentkit/templates/docs/product/02_user_stories.md
  • .agentkit/templates/docs/product/03_roadmap.md
  • .agentkit/templates/docs/product/04_personas.md
  • .agentkit/templates/docs/product/README.md
  • .agentkit/templates/docs/reference/01_glossary.md
  • .agentkit/templates/docs/reference/02_faq.md
  • .agentkit/templates/docs/reference/03_changelog.md
  • .agentkit/templates/docs/reference/04_contributing.md
  • .agentkit/templates/docs/reference/README.md
  • .agentkit/templates/gemini/config.yaml
  • .agentkit/templates/github/CODEOWNERS
  • .agentkit/templates/github/scripts/README.md
  • .agentkit/templates/github/scripts/resolve-merge.ps1
  • .agentkit/templates/github/scripts/resolve-merge.sh
  • .agentkit/templates/github/scripts/setup-branch-protection.ps1
  • .agentkit/templates/github/scripts/setup-branch-protection.sh
  • .agentkit/templates/github/workflows/breaking-change-detection.yml
  • .agentkit/templates/github/workflows/coverage-report.yml
  • .agentkit/templates/github/workflows/dependency-audit.yml
  • .agentkit/templates/github/workflows/documentation-quality.yml
  • .agentkit/templates/github/workflows/documentation-validation.yml
  • .agentkit/templates/github/workflows/pr-validation.yml
  • .agentkit/templates/github/workflows/retrospective-quality.yml
  • .agentkit/templates/headers/GENERATED.md
  • .agentkit/templates/language-instructions/README.md
  • .agentkit/templates/renovate/renovate.json
  • .agentkit/templates/root/AGENT_BACKLOG.md
  • .agentkit/templates/root/AGENT_TEAMS.md
  • .agentkit/templates/root/CHANGELOG.md
  • .agentkit/templates/root/COMMAND_GUIDE.md
  • .agentkit/templates/root/CONTRIBUTING.md
  • .agentkit/templates/root/MIGRATIONS.md
  • .agentkit/templates/root/QUALITY_GATES.md
  • .agentkit/templates/root/RUNBOOK_AI.md
  • .agentkit/templates/root/SECURITY.md
  • .agentkit/templates/root/UNIFIED_AGENT_TEAMS.md
  • .agentkit/templates/scripts/consolidate-branches.ps1
  • .agentkit/templates/scripts/resolve-merge.ps1
  • .agentkit/templates/scripts/resolve-merge.sh
  • .agentkit/templates/scripts/setup-agentkit-branch-governance.ps1
  • .agentkit/templates/scripts/setup-agentkit-branch-governance.sh
  • .agentkit/templates/windsurf/rules/project.md
  • .agentkit/templates/windsurf/teams/TEMPLATE.md
  • .claude/worktrees/focused-colden/.agentkit/.manifest.json
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/AGENT_TEAMS.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/api/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/decisions/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/diagrams/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/specs/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/engineering/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/bug-fixes/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/features/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/implementations/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/issues/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/lessons-learned/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/migrations/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/integrations/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/operations/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/product/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/reference/README.md
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/analyze-agents.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/check-documentation-requirement.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/consolidate-branches.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/create-doc.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/resolve-merge.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/setup-agentkit-branch-governance.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/sync-issues.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/sync-split-pr.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/update-changelog.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/validate-documentation.sh
  • .claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/validate-numbering.sh
  • .claude/worktrees/focused-colden/.agentkit/logs/usage-2026-03-16.jsonl
  • .claude/worktrees/focused-colden/.agentkit/logs/usage-2026-03-17.jsonl
  • .claude/worktrees/focused-colden/.agentkit/state/orchestrator.json.template
  • .claude/worktrees/focused-colden/.agentkit/state/schema.json
  • .claude/worktrees/focused-colden/.claude/settings.local.json
  • .claude/worktrees/focused-colden/.claude/state/orchestrator.json
  • .claude/worktrees/focused-colden/.claude/state/orchestrator.json.template
  • .claude/worktrees/focused-colden/.claude/state/schema.json
  • .claude/worktrees/focused-colden/.claude/state/tasks/task-p0-ci-pipeline.json
  • .claude/worktrees/focused-colden/.claude/state/tasks/task-p0-test-framework.json
  • .claude/worktrees/focused-colden/.claude/state/tasks/task-p1-api-routes.json
  • .claude/worktrees/focused-colden/.claude/state/tasks/task-p1-db-schema.json
  • .claude/worktrees/focused-colden/.claude/state/tasks/task-p1-health-check.json
  • .claude/worktrees/focused-colden/.claude/state/tasks/task-p1-migration-tooling.json
  • .claude/worktrees/focused-colden/.claude/state/tasks/task-p1-staging-env.json
  • .claude/worktrees/tender-margulis/.agentkit/.manifest.json
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/AGENT_TEAMS.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/api/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/decisions/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/diagrams/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/specs/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/engineering/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/bug-fixes/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/features/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/implementations/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/issues/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/lessons-learned/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/migrations/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/integrations/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/operations/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/product/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/reference/README.md
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/analyze-agents.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/check-documentation-requirement.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/consolidate-branches.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/create-doc.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/resolve-merge.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/setup-agentkit-branch-governance.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/sync-issues.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/sync-split-pr.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/update-changelog.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/validate-documentation.sh
  • .claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/validate-numbering.sh
  • .claude/worktrees/tender-margulis/.agentkit/logs/usage-2026-03-16.jsonl
  • .claude/worktrees/tender-margulis/.agentkit/logs/usage-2026-03-17.jsonl
  • .claude/worktrees/tender-margulis/.agentkit/state/orchestrator.json.template
  • .claude/worktrees/tender-margulis/.agentkit/state/schema.json
  • .claude/worktrees/tender-margulis/.claude/settings.local.json
  • .claude/worktrees/tender-margulis/.claude/state/orchestrator.json
  • .claude/worktrees/tender-margulis/.claude/state/orchestrator.json.template
  • .claude/worktrees/tender-margulis/.claude/state/schema.json
  • .claude/worktrees/tender-margulis/.claude/state/tasks/task-p0-ci-pipeline.json
  • .claude/worktrees/tender-margulis/.claude/state/tasks/task-p0-test-framework.json
  • .claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-api-routes.json
  • .claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-db-schema.json
  • .claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-health-check.json
  • .claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-migration-tooling.json
  • .claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-staging-env.json
  • .github/ISSUES/004-rules-yaml-ownership.md
  • .github/ISSUES/006-reverse-spec-mismatch.md
  • .github/ISSUES/025-trae-rules-revisit.md
  • .github/ISSUES/026-trae-skills-revisit.md
  • .github/ISSUES/027-trae-agents-revisit.md
  • .github/ISSUES/040-agents-should-consider-architectural-elegance.md
  • package.json

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch main

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is primarily a repo-wide rebrand/migration from “AgentKit Forge” to “Retort”, updating package names, scripts, templates, and documentation references, plus adding status/resolution notes to several tracked issue docs. It also appears to accidentally commit local Claude worktree artifacts under .claude/worktrees/**.

Changes:

  • Rename/rebrand strings and generated-file headers across templates and the Node engine (AgentKit Forge → Retort).
  • Add/route retort:* scripts (sync/init/validate/etc.) and update root-level scripts to use them.
  • Update several .github/ISSUES/*.md records with resolution/defer notes.

Reviewed changes

Copilot reviewed 265 out of 273 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
package.json Renames root package and switches build/utility scripts to retort:*.
.github/ISSUES/040-agents-should-consider-architectural-elegance.md Adds “Resolved” status note and references implementation PR.
.github/ISSUES/027-trae-agents-revisit.md Adds “Deferred” note and cross-references related work.
.github/ISSUES/026-trae-skills-revisit.md Adds “In progress / follow-up needed” note referencing kit filtering follow-up.
.github/ISSUES/025-trae-rules-revisit.md Adds “Partially resolved” note referencing domain filtering.
.github/ISSUES/006-reverse-spec-mismatch.md Marks acceptance criteria complete and adds resolution summary.
.github/ISSUES/004-rules-yaml-ownership.md Lowers priority and adds rationale note.
.claude/worktrees/tender-margulis/package-lock.json Adds a worktree-local lockfile (likely unintended to commit).
.claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-staging-env.json Adds worktree-local task state snapshot.
.claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-migration-tooling.json Adds worktree-local task state snapshot.
.claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-health-check.json Adds worktree-local task state snapshot.
.claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-db-schema.json Adds worktree-local task state snapshot.
.claude/worktrees/tender-margulis/.claude/state/tasks/task-p1-api-routes.json Adds worktree-local task state snapshot.
.claude/worktrees/tender-margulis/.claude/state/tasks/task-p0-test-framework.json Worktree-local task file present (content not shown in diff).
.claude/worktrees/tender-margulis/.claude/state/tasks/task-p0-ci-pipeline.json Adds worktree-local task rejection snapshot.
.claude/worktrees/tender-margulis/.claude/state/orchestrator.json.template Adds worktree-local orchestrator template snapshot.
.claude/worktrees/tender-margulis/.claude/state/orchestrator.json Adds worktree-local orchestrator state snapshot.
.claude/worktrees/tender-margulis/.claude/settings.local.json Adds worktree-local Claude permissions/config (likely unintended).
.claude/worktrees/tender-margulis/.agentkit/state/orchestrator.json.template Adds worktree-local AgentKit/Retort state template snapshot.
.claude/worktrees/tender-margulis/.agentkit/logs/usage-2026-03-17.jsonl Adds worktree-local usage logs (likely unintended).
.claude/worktrees/tender-margulis/.agentkit/logs/usage-2026-03-16.jsonl Adds worktree-local usage logs (likely unintended).
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/validate-numbering.sh Adds worktree-local scaffold cache content (likely unintended).
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/validate-documentation.sh Adds worktree-local scaffold cache content (likely unintended).
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/scripts/analyze-agents.sh Adds worktree-local scaffold cache content (likely unintended).
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/reference/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/README.md Adds worktree-local scaffold cache docs hub.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/product/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/operations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/integrations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/migrations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/lessons-learned/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/issues/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/implementations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/features/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/history/bug-fixes/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/engineering/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/specs/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/diagrams/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/architecture/decisions/README.md Adds worktree-local scaffold cache ADR index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/docs/api/README.md Adds worktree-local scaffold cache API docs index.
.claude/worktrees/tender-margulis/.agentkit/.scaffold-cache/AGENT_TEAMS.md Adds worktree-local scaffold cache team mapping file.
.claude/worktrees/focused-colden/package-lock.json Adds a second worktree-local lockfile (likely unintended).
.claude/worktrees/focused-colden/.claude/state/tasks/task-p1-staging-env.json Adds worktree-local task state snapshot.
.claude/worktrees/focused-colden/.claude/state/tasks/task-p1-migration-tooling.json Adds worktree-local task state snapshot.
.claude/worktrees/focused-colden/.claude/state/tasks/task-p1-health-check.json Adds worktree-local task state snapshot.
.claude/worktrees/focused-colden/.claude/state/tasks/task-p1-db-schema.json Adds worktree-local task state snapshot.
.claude/worktrees/focused-colden/.claude/state/tasks/task-p1-api-routes.json Adds worktree-local task state snapshot.
.claude/worktrees/focused-colden/.claude/state/tasks/task-p0-test-framework.json Worktree-local task file present (content not shown in diff).
.claude/worktrees/focused-colden/.claude/state/tasks/task-p0-ci-pipeline.json Adds worktree-local task rejection snapshot.
.claude/worktrees/focused-colden/.claude/state/schema.json Adds worktree-local schema definition snapshot.
.claude/worktrees/focused-colden/.claude/state/orchestrator.json.template Adds worktree-local orchestrator template snapshot.
.claude/worktrees/focused-colden/.claude/state/orchestrator.json Adds worktree-local orchestrator state snapshot.
.claude/worktrees/focused-colden/.claude/settings.local.json Adds worktree-local Claude permissions/config (likely unintended).
.claude/worktrees/focused-colden/.agentkit/state/orchestrator.json.template Adds worktree-local AgentKit/Retort state template snapshot.
.claude/worktrees/focused-colden/.agentkit/logs/usage-2026-03-17.jsonl Adds worktree-local usage logs (likely unintended).
.claude/worktrees/focused-colden/.agentkit/logs/usage-2026-03-16.jsonl Adds worktree-local usage logs (likely unintended).
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/validate-numbering.sh Adds worktree-local scaffold cache content (likely unintended).
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/validate-documentation.sh Adds worktree-local scaffold cache content (likely unintended).
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/scripts/analyze-agents.sh Adds worktree-local scaffold cache content (likely unintended).
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/reference/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/README.md Adds worktree-local scaffold cache docs hub.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/product/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/operations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/integrations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/migrations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/lessons-learned/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/issues/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/implementations/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/features/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/history/bug-fixes/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/engineering/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/specs/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/diagrams/README.md Adds worktree-local scaffold cache docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/architecture/decisions/README.md Adds worktree-local scaffold cache ADR index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/docs/api/README.md Adds worktree-local scaffold cache API docs index.
.claude/worktrees/focused-colden/.agentkit/.scaffold-cache/AGENT_TEAMS.md Adds worktree-local scaffold cache team mapping file.
.agentkit/templates/windsurf/teams/TEMPLATE.md Updates generated-file guidance to Retort branding and retort:sync.
.agentkit/templates/windsurf/rules/project.md Updates framework name and generated-file guidance to Retort.
.agentkit/templates/scripts/setup-agentkit-branch-governance.sh Renames printed banner to Retort.
.agentkit/templates/scripts/setup-agentkit-branch-governance.ps1 Renames printed banner to Retort.
.agentkit/templates/scripts/resolve-merge.sh Updates merge-resolution wording to Retort.
.agentkit/templates/scripts/resolve-merge.ps1 Updates merge-resolution wording to Retort.
.agentkit/templates/scripts/consolidate-branches.ps1 Updates merge-resolution wording and sync command to Retort.
.agentkit/templates/root/UNIFIED_AGENT_TEAMS.md Updates generated header + sync command wording to Retort.
.agentkit/templates/root/SECURITY.md Updates wording and regenerate command to Retort.
.agentkit/templates/root/RUNBOOK_AI.md Updates CLI command names and regenerate command to Retort.
.agentkit/templates/root/QUALITY_GATES.md Updates generated header/branding to Retort.
.agentkit/templates/root/MIGRATIONS.md Updates migration guide wording/commands to Retort.
.agentkit/templates/root/CONTRIBUTING.md Updates contributor instructions to retort sync/validate.
.agentkit/templates/root/COMMAND_GUIDE.md Updates “AgentKit” references to “Retort”.
.agentkit/templates/root/CHANGELOG.md Updates changelog wording/branding to Retort.
.agentkit/templates/root/AGENT_TEAMS.md Updates team mapping description to Retort.
.agentkit/templates/root/AGENT_BACKLOG.md Updates generated header/footer branding to Retort.
.agentkit/templates/renovate/renovate.json Renames dependency grouping description to Retort.
.agentkit/templates/language-instructions/README.md Updates generator name references to Retort.
.agentkit/templates/headers/GENERATED.md Updates standard generated header template to Retort.
.agentkit/templates/github/workflows/retrospective-quality.yml Updates generated header/regenerate command to Retort.
.agentkit/templates/github/workflows/pr-validation.yml Updates generated header/regenerate command to Retort.
.agentkit/templates/github/workflows/documentation-validation.yml Updates generated header/regenerate command to Retort.
.agentkit/templates/github/workflows/documentation-quality.yml Updates generated header/regenerate command to Retort.
.agentkit/templates/github/workflows/dependency-audit.yml Updates generated header/regenerate command to Retort.
.agentkit/templates/github/workflows/coverage-report.yml Updates generated header/regenerate command to Retort.
.agentkit/templates/github/workflows/breaking-change-detection.yml Updates generated header/regenerate command to Retort.
.agentkit/templates/github/scripts/setup-branch-protection.sh Updates script branding and label description text to Retort.
.agentkit/templates/github/scripts/setup-branch-protection.ps1 Updates script branding and label description text to Retort.
.agentkit/templates/github/scripts/resolve-merge.sh Updates script branding/wording to Retort.
.agentkit/templates/github/scripts/resolve-merge.ps1 Updates script branding/wording to Retort.
.agentkit/templates/github/scripts/README.md Updates docs to Retort branding and regenerate command.
.agentkit/templates/github/CODEOWNERS Updates generated header/comments to Retort branding.
.agentkit/templates/gemini/config.yaml Updates generator attribution to Retort.
.agentkit/templates/docs/reference/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/reference/04_contributing.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/reference/03_changelog.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/reference/02_faq.md Updates section titles and regenerate command to Retort.
.agentkit/templates/docs/reference/01_glossary.md Updates terminology section (AgentKit Forge → Retort).
.agentkit/templates/docs/README.md Updates docs hub template branding and regenerate command to Retort.
.agentkit/templates/docs/product/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/product/04_personas.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/product/03_roadmap.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/product/02_user_stories.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/product/01_prd.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/operations/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/operations/05_slos_slis.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/operations/04_troubleshooting.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/operations/03_incident_response.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/operations/02_monitoring.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/operations/01_deployment.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/integrations/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/integrations/03_sdk.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/integrations/02_webhooks.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/integrations/01_external_apis.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/history/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/07_changelog.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/06_pr_documentation.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/05_security.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/04_git_workflow.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/03_testing.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/02_coding_standards.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/engineering/01_setup.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/specs/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/specs/04_data_models.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/specs/03_api_spec.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/specs/02_technical_spec.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/specs/01_functional_spec.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/diagrams/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/decisions/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/decisions/06-code-quality-maintainability-signal-tooling.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/decisions/05-dependency-supply-chain-detection-tooling.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/decisions/04-static-security-analysis-depth-tooling.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/decisions/03-tooling-strategy.md Updates generated header/regenerate command and ADR-01 reference text.
.agentkit/templates/docs/architecture/decisions/02-fallback-policy-tokens-problem.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/architecture/decisions/01-adopt-agentkit-forge.md Updates ADR-01 content/commands to Retort branding.
.agentkit/templates/docs/architecture/01_overview.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/api/README.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/api/06_versioning.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/api/05_errors.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/api/04_examples.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/api/03_authentication.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/api/02_endpoints.md Updates generated header/regenerate command to Retort.
.agentkit/templates/docs/api/01_overview.md Updates generated header/regenerate command to Retort.
.agentkit/templates/cursor/teams/TEMPLATE.mdc Updates generated-file guidance to Retort and retort:sync.
.agentkit/templates/cursor/rules/project-context.mdc Updates framework name and generated-file guidance to Retort.
.agentkit/templates/cursor/commands/TEMPLATE.md Updates lifecycle wording to Retort.
.agentkit/templates/copilot/prompts/TEMPLATE.prompt.md Updates lifecycle wording to Retort.
.agentkit/templates/copilot/copilot-instructions.md Updates framework name and sync guidance to Retort.
.agentkit/templates/copilot/agents/TEMPLATE.agent.md Updates generated-file guidance to Retort and retort:sync.
.agentkit/templates/claude/state/schema.json Updates schema title branding to Retort.
.agentkit/templates/claude/rules/typescript.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/testing.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/template-protection.md Updates wording/commands to Retort.
.agentkit/templates/claude/rules/security.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/rust.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/quality.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/python.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/iac.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/git-workflow.md Updates generated-file guidance to Retort and retort:sync.
.agentkit/templates/claude/rules/dotnet.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/documentation.md Updates generated-file guidance to Retort and retort sync.
.agentkit/templates/claude/rules/dependency-management.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/ci-cd.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/blockchain.md Updates generated header regenerate command to Retort.
.agentkit/templates/claude/rules/agent-conduct.md Updates generated-file guidance to Retort and retort sync.
.agentkit/templates/claude/hooks/protect-templates.sh Updates branding in header/comments; adjusts deny message (still needs cleanup).
.agentkit/templates/claude/hooks/protect-templates.ps1 Updates branding in header/comments; adjusts deny message (still needs cleanup).
.agentkit/templates/claude/commands/validate.md Updates generated header/regenerate command to Retort.
.agentkit/templates/claude/commands/sync.md Updates generated header/regenerate command and examples to Retort.
.agentkit/templates/claude/commands/start.md Updates generated header/regenerate command and wording to Retort.
.agentkit/templates/claude/commands/review.md Updates wording about generated files/templates to Retort.
.agentkit/templates/claude/commands/project-review.md Updates wording about generated files/templates to Retort.
.agentkit/templates/claude/commands/feature-review.md Updates wording to Retort branding.
.agentkit/templates/claude/commands/feature-configure.md Updates wording to Retort branding.
.agentkit/templates/claude/commands/expand.md Updates generated header/regenerate command to Retort.
.agentkit/templates/claude/commands/doctor.md Updates wording to Retort branding.
.agentkit/templates/claude/commands/cost.md Updates wording to Retort branding.
.agentkit/templates/claude/CLAUDE.md Updates primary project context wording and sync guidance to Retort.
.agentkit/templates/ai/windsurfrules Updates generated-file guidance and sync command to Retort.
.agentkit/templates/ai/cursorrules Updates generated-file guidance and sync command to Retort.
.agentkit/templates/ai/continuerules Updates generated-file guidance and sync command to Retort.
.agentkit/package.json Renames runtime package and adds retort:* script aliases.
.agentkit/engines/node/src/weighted-scorer.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/validate.mjs Updates branding and generated-header checks to include Retort.
.agentkit/engines/node/src/tracker-adapter.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/tool-manager.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/template-utils.mjs Updates header branding and generated-header marker (sync command still needs adjustment).
.agentkit/engines/node/src/task-protocol.mjs Updates branding and one error message to Retort.
.agentkit/engines/node/src/task-cli.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/sync-guard.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/sync-backlog-runner.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/suggestion-store.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/spec-validator.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/runner.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/review-runner.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/project-completeness.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/plan-runner.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/orchestrator.mjs Updates file header branding and status banner to Retort.
.agentkit/engines/node/src/linear-adapter.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/issue-normalizer.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/init.mjs Updates init wizard intro branding to Retort.
.agentkit/engines/node/src/import-issues.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/healthcheck.mjs Updates branding in section header text to Retort.
.agentkit/engines/node/src/handoff.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/github-adapter.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/feature-manager.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/expansion-analyzer.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/events.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/event-emitter.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/doctor.mjs Updates branding and merge-driver marker checks to Retort.
.agentkit/engines/node/src/discover.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/cost-tracker.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/cli.mjs Updates CLI help/console prefixes to Retort.
.agentkit/engines/node/src/check.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/budget-guard.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/brand-resolver.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/backlog-viewer.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/backlog-store.mjs Updates footer branding to Retort.
.agentkit/engines/node/src/agent-integration.mjs Updates file header branding to Retort.
.agentkit/engines/node/src/agent-analysis.mjs Updates generated text to Retort branding.
.agentkit/engines/node/src/tests/template-utils.test.mjs Updates assertions for new Retort header marker.
.agentkit/engines/node/src/tests/cli.test.mjs Updates CLI help/version assertions to Retort branding.
.agentkit/engines/node/src/tests/brand-resolver.test.mjs Updates brand metadata expectation to Retort.
Files not reviewed (4)
  • .claude/worktrees/focused-colden/.agentkit/package-lock.json: Language not supported
  • .claude/worktrees/focused-colden/package-lock.json: Language not supported
  • .claude/worktrees/tender-margulis/.agentkit/package-lock.json: Language not supported
  • .claude/worktrees/tender-margulis/package-lock.json: Language not supported

Comment on lines 678 to 685
const pm = vars.packageManager || 'pnpm';
const syncCmd =
pm === 'npm' ? 'npm run -C .agentkit agentkit:sync' : `${pm} -C .agentkit agentkit:sync`;
return [
`${comment.start} GENERATED by AgentKit Forge v${version} — DO NOT EDIT${suffix}`,
`${comment.start} GENERATED by Retort v${version} — DO NOT EDIT${suffix}`,
`${comment.start} Source: .agentkit/spec + .agentkit/overlays/${repoName}${suffix}`,
`${comment.start} Regenerate: ${syncCmd}${suffix}`,
'',
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getGeneratedHeader() now emits a "GENERATED by Retort" header, but the syncCmd it embeds still points to agentkit:sync. This will instruct users to run the wrong command and makes the header inconsistent with the new retort:sync scripts. Update syncCmd to use retort:sync (and keep a fallback/alias only if you intend to support both).

Copilot uses AI. Check for mistakes.
Comment on lines 719 to 723
const header = getGeneratedHeader(version, repoName, ext);
if (!header) return content; // JSON / template — no comment syntax
if (content.includes('GENERATED by AgentKit Forge')) return content; // already present
if (content.includes('GENERATED by Retort')) return content; // already present

const normalizedExt = ext.toLowerCase();
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

insertHeader() only checks for an existing GENERATED by Retort marker. During migration, files/templates that still contain GENERATED by AgentKit Forge will get a second header prepended, producing duplicated headers. Consider treating both the old and new markers as "already has header" to keep sync idempotent across upgrades.

Copilot uses AI. Check for mistakes.
expect(header).toContain('GENERATED by AgentKit Forge v0.1.0');
expect(header).toContain('GENERATED by Retort v0.1.0');
expect(header).toContain('.agentkit/overlays/my-repo');
expect(header).toContain('pnpm -C .agentkit agentkit:sync');
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test still asserts that generated headers contain pnpm -C .agentkit agentkit:sync, but the PR is renaming the workflow to retort:sync. Once getGeneratedHeader() is corrected, this assertion should be updated to retort:sync (or allow either if backwards compatibility is intentional).

Suggested change
expect(header).toContain('pnpm -C .agentkit agentkit:sync');
expect(header).toContain('pnpm -C .agentkit retort:sync');

Copilot uses AI. Check for mistakes.
Comment on lines +4 to 6
# Purpose: Block AI writes to Retort source files (templates, spec,
# engines, overlays) in DOWNSTREAM repos. In the agentkit-forge source
# repo itself, agents ARE the maintainers and need full access.
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hook template still refers to the "agentkit-forge source repo" and uses agentkit-forge-runtime as the detection mechanism. After renaming the runtime package to retort-runtime, this detection will no longer recognize the source repo correctly, and the hook may start blocking edits even in the upstream repo. Update the source-repo detection text/logic to match the new package/repo naming.

Copilot uses AI. Check for mistakes.
Comment on lines 49 to 51
jq -n \
--arg reason "Blocked: '${FILE_PATH}' is an AgentKit Forge source file. These files are the upstream source-of-truth and must not be modified directly by AI agents. To propose changes, create a PR to the agentkit-forge repository targeting the relevant spec or template. If you need to change project configuration, edit the YAML specs in .agentkit/spec/ and run '{{packageManager}} -C .agentkit agentkit:sync'." \
--arg reason "Blocked: '${FILE_PATH}' is an Retort source file. These files are the upstream source-of-truth and must not be modified directly by AI agents. To propose changes, create a PR to the agentkit-forge repository targeting the relevant spec or template. If you need to change project configuration, edit the YAML specs in .agentkit/spec/ and run '{{packageManager}} -C .agentkit retort:sync'." \
'{
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deny reason says "is an Retort source file" (grammar) and directs users to open a PR against the agentkit-forge repository. With the Retort rename, the guidance should point to the correct upstream (Retort) repo (or be phrased generically), and the article should be "a Retort source file".

Copilot uses AI. Check for mistakes.
Comment on lines +3 to 5
# Purpose: Block AI writes to Retort source files (templates, spec,
# engines, overlays) in DOWNSTREAM repos. In the agentkit-forge source
# repo itself, agents ARE the maintainers and need full access.
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hook template header still mentions "agentkit-forge source repo" in the Retort-branded version. After the rename, the source repo naming (and any related detection logic) should be updated to Retort to avoid confusing downstream users and maintainers.

Copilot uses AI. Check for mistakes.
Comment on lines 54 to 56
if ($filePath -match $pattern) {
$reason = "Blocked: '$filePath' is an AgentKit Forge source file. These files are the upstream source-of-truth and must not be modified directly by AI agents. To propose changes, create a PR to the agentkit-forge repository targeting the relevant spec or template. If you need to change project configuration, edit the YAML specs in .agentkit/spec/ and run 'pnpm -C .agentkit agentkit:sync'."
$reason = "Blocked: '$filePath' is an Retort source file. These files are the upstream source-of-truth and must not be modified directly by AI agents. To propose changes, create a PR to the agentkit-forge repository targeting the relevant spec or template. If you need to change project configuration, edit the YAML specs in .agentkit/spec/ and run 'pnpm -C .agentkit retort:sync'."
@{
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deny reason says "is an Retort source file" (grammar) and directs users to open a PR against the agentkit-forge repository. With the Retort rename, this guidance should reference the correct upstream (or be made generic), and the article should be "a Retort source file".

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +7
{
"permissions": {
"allow": [
"Bash(git ls-remote https://github.com/actions/checkout.git refs/tags/v4.2.2)",
"Bash(git ls-remote https://github.com/anthropics/claude-code-action.git refs/tags/v1)",
"Bash(git ls-remote https://github.com/actions/github-script.git refs/tags/v7)",
"Bash(pnpm -C .agentkit test)",
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These .claude/worktrees/** files look like local Claude Code worktree state (permissions allowlist, cached commands, etc.) and are typically machine/user-specific. They shouldn’t be committed into the main repo; please remove the .claude/worktrees/ directory from version control and add it to .gitignore to prevent reintroducing local state/logs.

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +12
{
"schema_version": "1.0.0",
"repo_id": "JustAGhosT/retort",
"branch": "fix/generated-files-and-conflict-markers",
"session_id": "2026-03-15",
"current_phase": 2,
"phase_name": "Planning",
"last_phase_completed": 1,
"next_action": "Complete task-p0-test-framework (team-quality). Reassign P0 CI to DevOps. Then run Phase 4 Validation.",
"lastHealthcheck": "2026-03-15T13:10:00Z",
"healthStatus": "unhealthy",
"healthDetails": {
Copy link

Copilot AI Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file appears to be generated session/worktree state (.claude/state/orchestrator.json) under .claude/worktrees/**. Committing these ephemeral state snapshots will create noisy diffs and may leak environment-specific details (paths, branch names, local health results). Please remove .claude/worktrees/** from git and ignore it going forward.

Copilot uses AI. Check for mistakes.
JustAGhosT added a commit that referenced this pull request Mar 21, 2026
- Add `integrationBranch` field to overlay settings.yaml template
  (defaults to defaultBranch, allows dev/main distinction)
- Add `overlays/retort/settings.yaml` — sets integrationBranch: dev
  for retort's own generated output
- Add CLAUDE.md template section: Integration Branch header + PR Target
  Branch subsection with correct `gh pr create --base` example
- Add synchronize.mjs mapping: `integrationBranch` var from overlay settings
- Add hookify rule template: claude/rules/pr-base-branch.md warns when
  `gh pr create` is used without `--base {{integrationBranch}}`
- Regenerate all sync outputs with Retort branding and integrationBranch

This prevents the reverse-merge anti-pattern (PR targeting main instead
of dev) that triggered PR #437. The rule is enforced at the framework
level — every onboarded repo gets the guard baked into its CLAUDE.md and
.claude/rules/pr-base-branch.md automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JustAGhosT JustAGhosT merged commit 36113f7 into dev Mar 21, 2026
6 of 11 checks passed
JustAGhosT added a commit that referenced this pull request Mar 21, 2026
…438)

* feat(config): add integrationBranch setting and PR base branch guard

- Add `integrationBranch` field to overlay settings.yaml template
  (defaults to defaultBranch, allows dev/main distinction)
- Add `overlays/retort/settings.yaml` — sets integrationBranch: dev
  for retort's own generated output
- Add CLAUDE.md template section: Integration Branch header + PR Target
  Branch subsection with correct `gh pr create --base` example
- Add synchronize.mjs mapping: `integrationBranch` var from overlay settings
- Add hookify rule template: claude/rules/pr-base-branch.md warns when
  `gh pr create` is used without `--base {{integrationBranch}}`
- Regenerate all sync outputs with Retort branding and integrationBranch

This prevents the reverse-merge anti-pattern (PR targeting main instead
of dev) that triggered PR #437. The rule is enforced at the framework
level — every onboarded repo gets the guard baked into its CLAUDE.md and
.claude/rules/pr-base-branch.md automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(pr-review): address four Copilot review comments on PR #438

1. template-utils.mjs syncCmd: 'agentkit:sync' → 'retort:sync' in the
   generated GENERATED header's Regenerate instruction (line 680)

2. template-utils.mjs insertHeader: treat legacy 'GENERATED by AgentKit Forge'
   marker as "already present" to prevent double-headers during transition
   (line 721)

3. protect-templates.sh/.ps1: "is an Retort source file" →
   "is a Retort source file" (grammar fix, line 50)

4. review.md / project-review.md: "an Retort template" →
   "a Retort template" (grammar fix, line 239)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants